/* api 类型定义 */
export interface UserType {
  name:string
  password:string
}

/* redux 类型定义 */
// action的类型
export interface ActionType{
  type:string
  payload?:any
}

export interface LoginResponseType {
  code?:number
  token:string
  msg?:string
  user?:any
}

//定义团购列表数据的接口
export interface GroupBuyType {
  id?:number|string
  name?:string
  startTime?:string
  endTime?:string
  state?:number|string
  current?:number
  order?:string
  products?:string
  shop?:string
  slogan?:string
  preTime?:string
  showHome?:string
  tag?:string|number
  target?:number
  limitBuy?:number
  deliverWay?:number
  pickTime?:string
  homePic?:string
  banner?:string
  showType?:number
}